package com.baibei.ebec.sdk;

import com.baibei.sdk.Empty;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Headers;
import retrofit2.http.POST;

/**
 * 会话相关接口
 * Created by ChenRui on 2017/4/27 0027 14:00.
 */
public interface ITokenApi {

    /**
     * 刷新AccessToken
     *
     * @param refreshToken 刷新凭证
     */
    @POST(ApiConstant.API_TOKEN_REFRESH)
    @FormUrlEncoded
    Call<TokenInfo> refreshToken(@Field("refreshAppKey") String refreshToken);


}
